﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace XiAnAirport.Models
{
    public class UserInfo
    {
        public string creationDate { get; set; }//创建时间
        public string creationPerson { get; set; }//创建者
        public string dingUnionId { get; set; }//钉钉用户所属机构id
        public string dingUserId { get; set; }//钉钉用户id
        public string disabled { get; set; }//禁用true，启用false
        public string email { get; set; }//邮箱
        public string employeeNo { get; set; }//集团HR系统中的用户员工号
        public string fullname { get; set; }//姓名
        public string functionOption { get; set; }//功能选项
        public int id { get; set; }
        public int isDelete { get; set; }//是否删除
        public int isInspection { get; set; }//是否有巡检功能
        public string loginTime { get; set; }//登录时间
        public string mobile { get; set; }//手机号码
        public string operateType { get; set; }//新增：add、修改：update、删除：delete
        public string organizationId { get; set; }//所属机构的ID
        public string organizationCode { get; set; }//所属机构的代码
        public string password { get; set; }//密码
        public string type { get; set; }//机构：org；账号：user
        public string userId { get; set; }//唯一标识，更新、删除时使用
        public string username { get; set; }//用户名，唯一
        public int roleid { get; set; }//权限id
        public string menuRole { get; set; }//权限菜单id
        public string typename { get; set; }//权限名称
        public int Recordhead { get; set; }//记录头
        public int Recordtail { get; set; }//记录尾
        public int IsSelina { get; set; }//是否是维保主管
        public string SelinUserid { get; set; }//维保主管username
        public int loginFail { get; set; }//连续登录失败次数
        public DateTime lockTime { get; set; }//锁定时间
        public string Token { get; set; }

    }
    public class LoginUserInfo
    {
        public string username { get; set; }
        public string password { get; set; }
    }

    public class CameraLoginInfo
    {
        public string UserName { get; set; }
        public string AccessCode { get; set; }
        public string LoginSignature { get; set; }
    }

  
}
